package cn.itsource.basic.page;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
//封装分页对象
@Data
@AllArgsConstructor//全参构造
@NoArgsConstructor//无参构造
public class PageList<T> {
    private Integer totals;//总数
    private List<T> data;//分页查询到的当前数据
}
